/******************************************************************************

	filename :  PopupGetItemText.fx
	version  :  1.0
	author   :  Bernardo Z. Cinco Jr.
	date     :  August 30, 2010   
	
	Description:
	 > Returns list of allowed types for drop down box in Popup.
	
	Version history:
	 > 1.0 == 8/30/10
	       -- OK

******************************************************************************/

package mythesis.controller.popup;

public class PopupGetItemText
{
    
    public function getItemText(i:Integer): String
    {
        if (i == 0){
			return "1. Constant String";            
        }
        else if (i == 1){
            return "2. Constant Integer";
        }
        else if (i == 2){
            return "3. Constant Boolean";
        }
		else if (i == 3){
            return "4. Variable String";
        }
		else if (i == 4){
            return "5. Variable Integer";
        }
		else if (i == 5){
         	return "6. Variable Boolean";   
        }
		else if (i == 6){
         	return "7. Game-Func String";   
        }
		else if (i == 7){
            return "8. Game-Func Integer";
        }
		else if (i == 8){
            return "9. Game-Func Boolean";
        }
		else if (i == 9){
            return "10. Function String"; 
        }
		else if (i == 10){
            return "11. Function Integer";
        }
		else if (i == 11){
            return "12. Function Boolean";
        }
		else if (i == 12){
            return "13. Special String";
        }
		else if (i == 13){
            return "14. Special Integer";
        }
		else if (i == 14){
            return "15. Special Boolean";
        }
        else{
            return "(PopupGetItemText.fx) Huh?";
        }
    }
}